﻿using System.Collections.Generic;
using System.ComponentModel;
using System.Web.Services;
using KPIS.GERP.GFMS.IBLL;
using KPIS.GERP.GFMS.BLL;
using KPIS.GERP.GFMS.MODEL;

namespace KPIS.GERP.GFMS.SERVICE
{
    /// <summary>
    /// Summary description for BGM_MAS_Option
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class BGM_MAS_Option : System.Web.Services.WebService
    {
        IBLL_BGM_MAS_Option bll = new B_BGM_MAS_Option();

        [WebMethod]
        public List<M_BGM_MAS_Option> GetFull(string bgm_option_type_seq)
        {
            return (List<M_BGM_MAS_Option>)bll.GetFull(bgm_option_type_seq);
        }

        [WebMethod]
        public List<M_BGM_MAS_Option> GetList(string bgm_option_type_seq)
        {
            return (List<M_BGM_MAS_Option>)bll.GetList(bgm_option_type_seq);
        }

        [WebMethod]
        public List<M_BGM_MAS_Option> GetListFromBgmProjSeq(string bgm_option_type_seq
            , string bgm_proj_seq)
        {
            return (List<M_BGM_MAS_Option>)bll.GetListFromBgmProjSeq(bgm_option_type_seq
                , bgm_proj_seq);
        }

        [WebMethod]
        public List<M_BGM_MAS_Option> GetIntegrateProjectList(string job_site_seq)
        {
            return (List<M_BGM_MAS_Option>)bll.GetIntegrateProjectList(job_site_seq);
        }

        [WebMethod]
        public M_BGM_MAS_Option GetInfo(string seq)
        {
            return bll.GetInfo(seq);
        }
    }
}
